class A():
    name = 'aaa'
    birthday = '2010-01-01'

    @property  # 属性方法
    def age(self):
        return 10


a = A()

print(a.name)
print(a.age)
